-
Notifications
You must be signed in to change notification settings - Fork 60
Port to matrix-rust-sdk-crypto #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
2bf6831 to
f01f524
Compare
0796120 to
c76e066
Compare
a07274a to
8c33951
Compare
453f6cc to
8e4ad29
Compare
214ccab to
d3814ed
Compare
0c7f343 to
b300831
Compare
0f8fc8b to
fea61b9
Compare
677e82d to
993e4c9
Compare
830c221 to
face992
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked through most of the stuff, a few superficial comments and suggestions below. Overall LGTM so far.
.github/workflows/ci.yml
Outdated
| run: cmake --build build --target update-api | ||
|
|
||
| - name: Build and install libQuotient | ||
| shell: pwsh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document why :)
quotest/quotest.cpp
Outdated
| clog << "Connected, server: " << c->homeserver().toDisplayString().toStdString() << '\n' | ||
| << "Access token: " << c->accessToken().toStdString() << endl; | ||
|
|
||
| // We can't do this, as the crypto machine is already initialized and explodes when this is run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What this piece emulates is a client connecting to a homeserver, getting a token, immediately disconnecting, and connecting again with the obtained token. It would probably help to deconstruct the original connection before newC->assumeIdentity() is called? In that case the crypto machine in the original connection object will be dismantled before the one in the new connection is initialised.
|
04cf798 to
d241931
Compare
|
4743df3 to
ff44fe5
Compare
2d0d8c7 to
fd5bf09
Compare
6b123d0 to
31a70c3
Compare
428d639 to
c43999c
Compare
c43999c to
dd68852
Compare
TODO: